pull: Only set ca path if we actually have a setting for it
authorColin Walters <walters@verbum.org>
Tue, 1 Jul 2014 12:50:05 +0000 (08:50 -0400)
committerColin Walters <walters@verbum.org>
Tue, 1 Jul 2014 12:53:39 +0000 (08:53 -0400)
commit772409e945aa1f5d8e6c20c233fa36dda80950d8
tree8d1a39bf35ca46c2837760651d0b7df741f1a444
parentf60bac45fdf9e9b1b8f663f859ffdee190f2fd0c
pull: Only set ca path if we actually have a setting for it

Otherwise, GTlsFileDatabase ends up accepting NULL for anchors, and
then we don't trust any CAs at all.

https://bugzilla.gnome.org/show_bug.cgi?id=726256
src/libostree/ostree-repo-pull.c